﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="post_tel_selectByTel.aspx.cs" Inherits="page_post_tel_selectByTel" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>

    <link rel="Stylesheet" type="text/css" href="../Styles/right_style.css" />
    <script type="text/javascript" src="../Scripts/jquery.ui/js/jquery.js"></script>



    <style type="text/css">
<!--
html{ scrollbar-base-color: #dbecf8; scrollbar-arrow-color: #2a8ed1; scrollbar-track-color: #bdddf2; scrollbar-3dlight-color: #2886c5; scrollbar-darkshadow-color: #2886c5;
scrollbar-face-color: #dbecf8; scrollbar-shadow-color: #dbecf8;  }
-->
</style>

</head>
<body>
    <form id="form1" runat="server">
        <div class="sub_right_top">
  <div class="hdm_header" >
    <div class="tb1_on"><h2 class="h2_icon">电话区号</h2></div>

    <div class="clear"></div>
  </div>
  <div class="hdm_footer"> 
    <div style="height:20px;"></div>    
      <asp:GridView ID="GRVShowByTel" runat="server" AutoGenerateColumns="False"  BorderColor="#77ACD0" HorizontalAlign="Center" Width="99%" BorderWidth="1px" GridLines="Horizontal">
            <Columns>
                <asp:BoundField DataField="area" HeaderText="省(直辖市/自治区)或大洲" >
                  <HeaderStyle CssClass="itemhead" />
                </asp:BoundField>
                <asp:BoundField DataField="province" HeaderText="市(县/区)或国家" >
                  <HeaderStyle CssClass="itemhead" />
                </asp:BoundField>
                <asp:BoundField DataField="tel_no" HeaderText="电话区号" >
                  <HeaderStyle CssClass="itemhead" />
                </asp:BoundField>
                <asp:TemplateField HeaderText="与北京时差">
                <HeaderStyle CssClass="itemhead" />
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("post_no") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label1" runat="server" Text='<%# Eval("post_no").Equals("NULL")||Convert.ToInt32(Eval("post_no"))>12?"0":Eval("post_no") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <RowStyle BackColor="Transparent" ForeColor="Black" HorizontalAlign="Center" />
                                    <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
                                    <PagerStyle BackColor="#E4F1FD" ForeColor="#1E5494" HorizontalAlign="Right" />
                                    <HeaderStyle BackColor="#E4F1FD" ForeColor="#1E5494" BorderColor="#77ACD0" HorizontalAlign="Center"/>
                                    <AlternatingRowStyle BackColor="#E4F1FD" />
        </asp:GridView>

        <br />
    
    </div>
    </div>
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="返回" />
    </form>
</body>
</html>
